package com.guofen.dao;

import com.guofen.pojo.SjqWeightProductionFaecesInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SjqWeightProductionFaecesInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SjqWeightProductionFaecesInfo record);

    int insertSelective(SjqWeightProductionFaecesInfo record);

    SjqWeightProductionFaecesInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SjqWeightProductionFaecesInfo record);

    int updateByPrimaryKey(SjqWeightProductionFaecesInfo record);

    List<SjqWeightProductionFaecesInfo> selectAll();

    List<SjqWeightProductionFaecesInfo> selectByDate(@Param("startDate") String startDate,
                                                  @Param("endDate") String endDate);
}